package com.hnas.core.dto;

public class ListData extends DataBean {
	private String listName;
	private String defaultValue="0";
	
	public String getListName() {
		return listName;
	}
	
	public ListData(String field, String title, String listName) {
		super(field, title);
		this.listName = listName;
		this.setDataType("list");
	}
	public ListData(String field, String title, String listName, String defaultValue) {
		this(field, title, listName);
		this.defaultValue = defaultValue;
	}

	public ListData(String field, String title) {
		super(field, title);
	}

	public void setListName(String listName) {
		this.listName = listName;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
}
